var Radio = require("./radio");

var station = {
    name:"music radio",
    frequency:"106.7"
}
var radio = new Radio(station);
 radio.on("open",function(station){
     console.log('"%s" FM %s opened',station.name,station.frequency);
     setTimeout(function(){
         console.log("lalala...");
     },2000)
 })
 radio.on("close",function(station){
     console.log('"%s" FM %s closed',station.name,station.frequency)
 })